package com.htht.job.executor.hander;

import com.htht.job.core.biz.model.ReturnT;
import com.htht.job.core.biz.model.TriggerParam;
import com.htht.job.core.handler.IJobHandler;
import com.htht.job.core.handler.annotation.JobHandler;
import org.springframework.stereotype.Service;

/**
 * Created by zzj on 2018/1/31.
 */
@JobHandler(value = "aaaa")
@Service
public class aaaa extends IJobHandler {
    @Override
    public ReturnT<String> execute(TriggerParam triggerParam) throws Exception {
        System.out.println("111111");
        Thread.sleep(6000);
        return ReturnT.SUCCESS;
    }
}
